package com.travel.server.manager.api;

import com.travel.server.manager.dto.request.EmptyRequest;
import com.travel.server.manager.dto.request.data.*;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: LiZhenhui
 * @Date: 2018/12/14 17:10
 * @Desc:
 */
public interface IDataService {

    /**
     * 1
     * @param request
     * @return
     */
    @RequestMapping(value = "query_whole_data")
    Object queryWholeData(EmptyRequest request);

    @RequestMapping(value = "export_whole_data")
    Object exportWholeData(EmptyRequest request);

    @RequestMapping(value = "query_page_data")
    Object queryPageData(QueryPageDataRequest request);

    @RequestMapping(value = "export_page_data")
    Object exportPageData(ExportPageDataRequest request);

    @RequestMapping(value = "query_operate_sale_target")
    Object queryOperateSaleTarget(QueryOperateSaleTargetRequest request);

    @RequestMapping(value = "export_operate_sale_target")
    Object exportOperateSaleTarget(ExportOperateSaleTargetRequest request);

    @RequestMapping(value = "query_operate_refund_analysis")
    Object queryOperateRefundAnalysis(QueryOperateRefundAnalysisRequest request);

    @RequestMapping(value = "export_operate_refund_analysis")
    Object exportOperateRefundAnalysis(ExportOperateRefundAnalysisRequest request);

    @RequestMapping(value = "query_operate_top_refund")
    Object queryOperateTopRefund(QueryOperateTopRefundRequest request);

    @RequestMapping(value = "query_trade_list")
    Object queryTradeList(QueryTradeListRequest request);

    @RequestMapping(value = "export_trade_list")
    Object exportTradeList(ExportTradeListRequest request);
}
